class Setting < ActiveRecord::Base
  belongs_to :blog
  
  # True if this is a global, system-wide setting (i.e. if the setting doesn't
  # belong to any particular Blog).
  def global?
    blog_id.nil?
  end
end
